package com.cskaoyan.service;

import com.cskaoyan.bean.MarketCategory;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.vo.AdminCategoryL1VO;
import com.cskaoyan.bean.vo.AdminCategoryVO;
import com.cskaoyan.mapper.MarketCategoryMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface AdminCategoryService {
    CommonData<AdminCategoryVO> selectCategoryList();

    int insertCategory(MarketCategory marketCategory);

    void deleteCategory(Integer id);

    void updateCategory(MarketCategory marketCategory);

    CommonData<AdminCategoryL1VO> selectL1Category(Integer pid);
}
